<?php echo $this->render('activity/view/form/composer');
$index  = 0; 
?>
<div class="uiTimelineUnitContainer followBlock">
	<div class="clearfix"></div>
<?php foreach ($items as $item):
$content =  $item -> getContent();
$index  = (++$index%2);
$unitClass =  $index?'uiTimelineUnitLeft':'uiTimelineUnitRight';
$side = $index?'l':'r';
?>
<div class="uiTimelineUnit clearfix <?php echo $unitClass;?>" data-side="<?php echo $side; ?>" data-size="1" id="<?php echo $item -> getHtmlId(); ?>">
	<div class="uiTimelineUnitInner">
		<div class="uiTimelineUnitHd">
			<img width="32" height="32" src="<?php echo $item -> getPoster() -> getPhotoUrl('s50'); ?>" class="lfloat uiThumbImg" />
			<div class="uiTimelineUnitHdInfo">
				<div class="uiTimelineUnitHeadline"><?php  echo $content['title'] ?></div>
				<div>
					<abbr class="timestamp" data-utime="" title="<?php echo Intl::formatDateTime($item -> updated_at); ?>"><?php echo Intl::getTimeDiff($item -> updated_at); ?></abbr>
				    &middot;
				    <a hover="tooltip" title="everyone">
				    	<i>everyone</i>
				    </a>
				</div>
			</div>
		</div>
		<div class="uiTimlineUnitBd">
			<div class="uiTimlineUnitStory"><?php  echo $content['body'] ?></div>
		</div>
		<!-- end feed entry footer -->
	</div>
</div>
<?php endforeach; ?>
</div>